package com.msb.servicemap.controller;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.servicemap.remote.TrackClient;
import com.msb.servicemap.service.TrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/9 - 07 - 09 - 10:33
 * @Description: com.msb.servicemap
 * @version: 1.0
 */
@RestController
@RequestMapping("/track")
public class TrackController {

    @Autowired
    private TrackService trackService ;

    @PostMapping("/add")
    public ResponseResult add(String tid){
        return trackService.add(tid) ;
    }
}
